package ar.com.digitalbricks.view.imprenta.general;


public class EnumView {
	private String code;
	private String description;
	private static EnumI18nMap i18nMap;

	public EnumView(){};
	
	public EnumView(Enum<?> aEnum) {
		this.code = aEnum.name();
		this.description = this.getI18nMap().getI18n(aEnum.name());
	}
	public String getCode() {
		return this.code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getDescription() {
		return this.description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	
	public EnumI18nMap getI18nMap() {
		return i18nMap;
	}
	public void setI18nMap(EnumI18nMap map) {
		i18nMap = map;
	}
}